package com.cqjtu.platform.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author pengyangyan
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Entity
@Table(name = "parking_record")
public class ParkingRecord extends BaseEntity {
    /**
     * 车库id
     */
    @Column
    private Integer parkingId;
    /**
     * 车牌号
     */
    @Column
    private String plateNum;
    /**
     * 进场时间
     */
    @Column
    private Date startTime;
    /**
     * 出场时间
     */
    @Column
    private Date endTime;
    /**
     * 用户类型
     */
    @Column
    private String userType;
    /**
     * 停车状态
     */
    @Column
    private Integer status;
    /**
     * 车位id
     */
    @Column
    private Integer carPlaceId;
}
